package org.maxkey.portal.repository;

import org.maxkey.portal.model.Doc;
import org.maxkey.portal.model.UserInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DocRepository extends JpaRepository<Doc, Integer> {



    Page<Doc> findAll(Specification<Doc> spec, Pageable pageable);

}
